public class youyi{
	public static void main(String[] args){
		int a = 0x10;
		System.out.printf("%x\n",a >> 1);//8
		
		int b = 0xffff0000;
		System.out.printf("%x\n",b >> 1);//ffff8000
	}
}